From 40fa7703a559cbe3e2a0903c9b8777f0f19453eb Mon Sep 17 00:00:00 2001 From: Domas Mituzas Date: Tue, 1 Jul 2008 19:55:17 +0000 Subject: [PATCH] new feature! a blank special page! (thanks to everyone, who made Special:Version heavy :) --- RELEASE-NOTES | 1 + includes/SpecialPage.php | 1 + includes/specials/SpecialBlankpage.php | 6 ++++++ languages/messages/MessagesEn.php | 3 +++ 4 files changed, 11 insertions(+) create mode 100644 includes/specials/SpecialBlankpage.php diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 969f1c64f6..12e5fc92b0 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -484,6 +484,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 14651) apprefix and similar parameters are now canonicalized * Added clprop=timestamp to prop=categories * (bug 14678) API errors now respects $wgShowExceptionDetails and $wgShowSQLErrors +* Added blank special page === Languages updated in 1.13 === diff --git a/includes/SpecialPage.php b/includes/SpecialPage.php index 4a50b81a83..ce1e2b357d 100644 --- a/includes/SpecialPage.php +++ b/includes/SpecialPage.php @@ -136,6 +136,7 @@ class SpecialPage 'Categories' => array( 'SpecialPage', 'Categories' ), 'Export' => array( 'SpecialPage', 'Export' ), 'Version' => array( 'SpecialPage', 'Version' ), + 'Blankpage' => array( 'SpecialPage', 'Blankpage' ), 'Allmessages' => array( 'SpecialPage', 'Allmessages' ), 'Log' => array( 'SpecialPage', 'Log' ), 'Blockip' => array( 'SpecialPage', 'Blockip', 'block' ), diff --git a/includes/specials/SpecialBlankpage.php b/includes/specials/SpecialBlankpage.php new file mode 100644 index 0000000000..08bf51737d --- /dev/null +++ b/includes/specials/SpecialBlankpage.php @@ -0,0 +1,6 @@ +addHTML('intentionallyblankpage'); +} diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index 19407efbb7..ffc8e63d9a 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -3447,4 +3447,7 @@ Enter the filename without the "{{ns:image}}:" prefix.', 'specialpages-group-redirects' => 'Redirecting special pages', 'specialpages-group-spam' => 'Spam tools', +# Special:Blank +'blankpage' => 'Blank page', +'intentionallyblankpage' => 'This page is intentionally left blank', ); -- 2.20.1